package com.quant.background.modular.business.saleForm.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.quant.common.pojo.CommonPage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author:chariputh
 * @data:2024/12/14
 */
@Getter
@Setter
public class SaleFormPageListParam extends CommonPage {

    @Schema(description = "商品名称||商品首字母||销货单备注")
    private String query;
    @Schema(description = "单据编号")
    private String saleNumber;
    @Schema(description = "客户类型")
    private String customerType;
    @Schema(description = "客户名称")
    private String customerName;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    @Schema(description = "销售日期开始")
    private Date saleDateBegin;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    @Schema(description = "销售日期结束")
    private Date saleDateEnd;
    @Schema(description = "销售员名称")
    private String salesmanName;
    @Schema(description = "销售金额小")
    private BigDecimal subtotalSum;
    @Schema(description = "销售金额大")
    private BigDecimal subtotalSumBig;
    @Schema(description = "销售渠道")
    private String marketingChannel;
}
